package com.yunfei.api.v2.enums;

/**
 * 自定义请求状态码
 * 1增加这里的字段
 * 2.增加ContractData里面的字段
 * 3,设置ContractData这个类里面的这个方法getContractData
 * @author ScienJus
 * @date 2015/7/15.
 */
public enum ContractTemplateDataEnum {
    custName("custName", "${cust_nm}"),
    custIdenNo("custIdenNo", "${cust_iden_no}"),
    mobileNo("mobileNo", "${mobile_no}"),
    buyAmt("buyAmt", "${buy_amt}"),
    bankNm("bankNm", "${bank_nm}"),
    bankBrunNm1("bankBrunNm1", "${bank_brun_nm1}"),
    bankBrunNm2("bankBrunNm2", "${bank_brun_nm2}"),
    acctNo("acctNo", "${acct_no}"),
    prodNm("prodNm", "${prod_nm}"),
    contNo("contNo", "${cont_no}"),
   // maxScale("maxScale", "${max_scale}"),
   // undsUse("undsUse", "${funds_use}"),
   // riskControl("riskControl", "${risk_control}"),
   // repaySource("repaySource", "${repay_source}"),
    //filing("filing", "${filing}"),
  //  intDesc("intDesc", "${int_desc}"),
    custAdd("custAdd", "${cust_add}"),
    buyAmtUpper("buyAmtUpper","${buy_amt_upper}"),
    intRate("intRate", "${int_rate}"),
    //downContNo("downContNo", "${down_cont_no}"),
    //prodTerm("prodTerm", "${prod_term}"),
    column1("column1", "1"),
    column2("column2", "2"),
    custNmSpci("custNmSpci", "${cust_nm_spci}"),
    ERROR("2040","系统错误");
    /**
     * 返回码
     */
    private String code;

    /**
     * 返回结果描述
     */
    private String message;

    ContractTemplateDataEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
